package org.contacts.dao;

import org.contacts.dao.impl.ContactDAOFactory;

import java.sql.SQLException;

/**
 * This is for the purpose of future extension.
 *
 * Created by nnazarov on 3/27/14.
 */
public abstract class DAOFactory {

    public abstract IDataAccessObject getContactDAO();

    public static DAOFactory getDAOFactory() {
        return new ContactDAOFactory();
    }
}
